<?php if ( ! defined('WDK_PATH')) exit('No direct script access allowed');?>
<!--{**************************************************************************}-->
<link rel="stylesheet" type="text/css" href="{default_css}" />
<!--{**************************************************************************}-->
<fieldset>
	<legend>배너 정보</legend>
	<form id="editForm" action="" method="POST" enctype="multipart/form-data">
	<input type="hidden" name="banner_seq" value="{data.banner_seq}"/>
	<table class="form">
		<colgroup>
			<col style="width:20%;"></col>
			<col style="width:30%;"></col>
			<col style="width:20%;"></col>
			<col style="width:30%;"></col>
		</colgroup>
		<tbody>
			<tr>
				<th>코드</th>
				<td>
					<!--{? data.banner_seq > 0 }-->
					{data.banner_code}
					<!--{:}-->
					<input type="text" name="banner_code" value="{data.banner_code}" class="input" size="4" maxlength="3"/>
					<!--{/}-->
				</td>
				<th>사용여부</th>
				<td>
					<input type="radio" name="banner_use_flag" value="T" id="r1t"<!--{? data.banner_use_flag !='F'}--> checked="checked"<!--{/}-->/> <label for="r1t">사용</label>
					<input type="radio" name="banner_use_flag" value="F" id="r1f"<!--{? data.banner_use_flag =='F'}--> checked="checked"<!--{/}-->/> <label for="r1f">사용안함</label>
				</td>
			</tr>
			<tr>
				<th>이름</th>
				<td>
					<input type="text" name="banner_name" value="{data.banner_name}" class="input"/>			
				</td>
				<th>타입</th>
				<td>
					<input type="radio" name="banner_type" value="IMG" id="r2t"<!--{? data.banner_style != 'SWF'}--> checked<!--{/}-->/> <label for="r2t">이미지</label>
					<input type="radio" name="banner_type" value="SWF" id="r2f"<!--{? data.banner_style == 'SWF'}--> checked<!--{/}-->/> <label for="r2f">플래시</label>
				</td>
			</tr>
			<tr>
				<th>크기</th>
				<td>
					가로 : <input type="text" name="banner_width" value="{data.banner_width}" class="input" size="3"/> px,
					세로 : <input type="text" name="banner_height" value="{data.banner_height}" class="input" size="3"/> px
				</td>
				<th>타겟</th>
				<td>
					<input type="radio" name="banner_target" value="SEFL" id="r3t"<!--{? data.banner_target != '_BLANK'}--> checked<!--{/}-->/> <label for="r3t">현재창</label>
					<input type="radio" name="banner_target" value="_BLANK" id="r3f"<!--{? data.banner_target == '_BLANK'}--> checked<!--{/}-->/> <label for="r3f">새창</label>
				</td>
			</tr>
			<tr>
				<th>링크</th>
				<td colspan="3">
					<input type="text" name="banner_link" value="{data.banner_link}" class="input" size="70"/>
				</td>
			</tr>
			<tr>
				<th>파일</th>
				<td colspan="3">
					<input type="file" name="banner_file" size="60"/>
				</td>
			</tr>
		</tbody>
	</table>
	</form>
</fieldset>
<!--{**************************************************************************}-->
<script src="{default_js}"></script>
<!--{**************************************************************************}-->